<template>
  <!--  <div id="nav">-->
  <!--    <router-link to="/">Home</router-link> |-->
  <!--    <router-link to="/about">About</router-link>-->
  <!--  </div>-->
    <router-view name="index"/>
    <router-view name="usr_admin" :key="$route.fullPath"/>
    <router-view name="company_admin" :key="$route.fullPath"/>
    <router-view name="rczp_page" :key="$route.fullPath"/>
<!--  <router-view :key="$route.fullPath"/>-->
  <!--  <div style="position: fixed;right: 50px;bottom: 50px;" @click="backTop">-->
  <!--    <i class="el-icon-caret-top"></i>-->
  <!--  </div>-->
  <!--  <script src="https://webapi.amap.com/maps?v=1.4.15&key=0ae65ec35af4452e8acb345919d0be85"></script>-->
</template>
<script>
export default {
  methods: {
    backTop() {
      window.scroll({
        behavior: 'smooth',
        top: 0
      })
    }
  }
}
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;




}

#nav {
  padding: 30px;
}
#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}
</style>
